package com.primb.bench.project.home.contract;

import com.primb.baselibs.base.BasePresenter;
import com.primb.baselibs.base.BaseView;

import java.util.List;

import rx.Observable;
import rx.Subscription;


/**
 * Created by Chen on 2017/4/24.
 * 功能描述：
 */

public class HomeContract {

    public interface View {

        void showErrorMsg(String msg);

        void showLoading();

        void hideLoading();

        void refreshSpot(String num);
    }

    public interface Presenter extends BasePresenter {
        String getUserId();
    }

    public interface Model {
        Observable<String> loadSpot(String userId);
    }
}